Automattic\Jetpack\Protect\Scan_History S

Total Complexity 45
Dependencies 9
Dependents 3
Total lines 333
Lines of code 177
Logical lines of code 97
Comment lines 105
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
normalize_api_data()
A
50 8 29
handle_extension_threats()
A
48 7 32
get_scan_history()
S
52 7 27
fetch_from_api()
S
52 5 24
handle_core_threats()
S
52 4 25
get_api_url()
S
64 3 9
handle_additional_threats()
S
65 3 9
is_cache_expired()
S
69 2 7
should_use_cache()
S
78 2 3
delete_option()
S
72 2 5
get_from_options()
S
79 1 3
update_history_option()
S
75 1 4